﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200050F RID: 1295
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class ExtraScoreInfo : IMessage<ExtraScoreInfo>, IMessage, IEquatable<ExtraScoreInfo>, IDeepCloneable<ExtraScoreInfo>, IBufferMessage
	{
		// Token: 0x170010B8 RID: 4280
		// (get) Token: 0x06003A7E RID: 14974 RVA: 0x000A0935 File Offset: 0x0009EB35
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<ExtraScoreInfo> Parser
		{
			get
			{
				return ExtraScoreInfo._parser;
			}
		}

		// Token: 0x170010B9 RID: 4281
		// (get) Token: 0x06003A7F RID: 14975 RVA: 0x000A093C File Offset: 0x0009EB3C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return ExtraScoreInfoReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170010BA RID: 4282
		// (get) Token: 0x06003A80 RID: 14976 RVA: 0x000A094E File Offset: 0x0009EB4E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return ExtraScoreInfo.Descriptor;
			}
		}

		// Token: 0x06003A81 RID: 14977 RVA: 0x000A0955 File Offset: 0x0009EB55
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ExtraScoreInfo()
		{
		}

		// Token: 0x06003A82 RID: 14978 RVA: 0x000A0960 File Offset: 0x0009EB60
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ExtraScoreInfo(ExtraScoreInfo other) : this()
		{
			this.endTime_ = other.endTime_;
			this.week_ = other.week_;
			this.iMMLCCNCLBF_ = other.iMMLCCNCLBF_;
			this.hasGained_ = other.hasGained_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06003A83 RID: 14979 RVA: 0x000A09B4 File Offset: 0x0009EBB4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ExtraScoreInfo Clone()
		{
			return new ExtraScoreInfo(this);
		}

		// Token: 0x170010BB RID: 4283
		// (get) Token: 0x06003A84 RID: 14980 RVA: 0x000A09BC File Offset: 0x0009EBBC
		// (set) Token: 0x06003A85 RID: 14981 RVA: 0x000A09C4 File Offset: 0x0009EBC4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public long EndTime
		{
			get
			{
				return this.endTime_;
			}
			set
			{
				this.endTime_ = value;
			}
		}

		// Token: 0x170010BC RID: 4284
		// (get) Token: 0x06003A86 RID: 14982 RVA: 0x000A09CD File Offset: 0x0009EBCD
		// (set) Token: 0x06003A87 RID: 14983 RVA: 0x000A09D5 File Offset: 0x0009EBD5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Week
		{
			get
			{
				return this.week_;
			}
			set
			{
				this.week_ = value;
			}
		}

		// Token: 0x170010BD RID: 4285
		// (get) Token: 0x06003A88 RID: 14984 RVA: 0x000A09DE File Offset: 0x0009EBDE
		// (set) Token: 0x06003A89 RID: 14985 RVA: 0x000A09E6 File Offset: 0x0009EBE6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint IMMLCCNCLBF
		{
			get
			{
				return this.iMMLCCNCLBF_;
			}
			set
			{
				this.iMMLCCNCLBF_ = value;
			}
		}

		// Token: 0x170010BE RID: 4286
		// (get) Token: 0x06003A8A RID: 14986 RVA: 0x000A09EF File Offset: 0x0009EBEF
		// (set) Token: 0x06003A8B RID: 14987 RVA: 0x000A09F7 File Offset: 0x0009EBF7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool HasGained
		{
			get
			{
				return this.hasGained_;
			}
			set
			{
				this.hasGained_ = value;
			}
		}

		// Token: 0x06003A8C RID: 14988 RVA: 0x000A0A00 File Offset: 0x0009EC00
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as ExtraScoreInfo);
		}

		// Token: 0x06003A8D RID: 14989 RVA: 0x000A0A10 File Offset: 0x0009EC10
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(ExtraScoreInfo other)
		{
			return other != null && (other == this || (this.EndTime == other.EndTime && this.Week == other.Week && this.IMMLCCNCLBF == other.IMMLCCNCLBF && this.HasGained == other.HasGained && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06003A8E RID: 14990 RVA: 0x000A0A7C File Offset: 0x0009EC7C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.EndTime != 0L)
			{
				num ^= this.EndTime.GetHashCode();
			}
			if (this.Week != 0U)
			{
				num ^= this.Week.GetHashCode();
			}
			if (this.IMMLCCNCLBF != 0U)
			{
				num ^= this.IMMLCCNCLBF.GetHashCode();
			}
			if (this.HasGained)
			{
				num ^= this.HasGained.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06003A8F RID: 14991 RVA: 0x000A0B06 File Offset: 0x0009ED06
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06003A90 RID: 14992 RVA: 0x000A0B0E File Offset: 0x0009ED0E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06003A91 RID: 14993 RVA: 0x000A0B18 File Offset: 0x0009ED18
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.HasGained)
			{
				output.WriteRawTag(32);
				output.WriteBool(this.HasGained);
			}
			if (this.IMMLCCNCLBF != 0U)
			{
				output.WriteRawTag(56);
				output.WriteUInt32(this.IMMLCCNCLBF);
			}
			if (this.Week != 0U)
			{
				output.WriteRawTag(104);
				output.WriteUInt32(this.Week);
			}
			if (this.EndTime != 0L)
			{
				output.WriteRawTag(120);
				output.WriteInt64(this.EndTime);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06003A92 RID: 14994 RVA: 0x000A0BAC File Offset: 0x0009EDAC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.EndTime != 0L)
			{
				num += 1 + CodedOutputStream.ComputeInt64Size(this.EndTime);
			}
			if (this.Week != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Week);
			}
			if (this.IMMLCCNCLBF != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.IMMLCCNCLBF);
			}
			if (this.HasGained)
			{
				num += 2;
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06003A93 RID: 14995 RVA: 0x000A0C28 File Offset: 0x0009EE28
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(ExtraScoreInfo other)
		{
			if (other == null)
			{
				return;
			}
			if (other.EndTime != 0L)
			{
				this.EndTime = other.EndTime;
			}
			if (other.Week != 0U)
			{
				this.Week = other.Week;
			}
			if (other.IMMLCCNCLBF != 0U)
			{
				this.IMMLCCNCLBF = other.IMMLCCNCLBF;
			}
			if (other.HasGained)
			{
				this.HasGained = other.HasGained;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06003A94 RID: 14996 RVA: 0x000A0CA0 File Offset: 0x0009EEA0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06003A95 RID: 14997 RVA: 0x000A0CAC File Offset: 0x0009EEAC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 56U)
				{
					if (num == 32U)
					{
						this.HasGained = input.ReadBool();
						continue;
					}
					if (num == 56U)
					{
						this.IMMLCCNCLBF = input.ReadUInt32();
						continue;
					}
				}
				else
				{
					if (num == 104U)
					{
						this.Week = input.ReadUInt32();
						continue;
					}
					if (num == 120U)
					{
						this.EndTime = input.ReadInt64();
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x040016FE RID: 5886
		private static readonly MessageParser<ExtraScoreInfo> _parser = new MessageParser<ExtraScoreInfo>(() => new ExtraScoreInfo());

		// Token: 0x040016FF RID: 5887
		private UnknownFieldSet _unknownFields;

		// Token: 0x04001700 RID: 5888
		public const int EndTimeFieldNumber = 15;

		// Token: 0x04001701 RID: 5889
		private long endTime_;

		// Token: 0x04001702 RID: 5890
		public const int WeekFieldNumber = 13;

		// Token: 0x04001703 RID: 5891
		private uint week_;

		// Token: 0x04001704 RID: 5892
		public const int IMMLCCNCLBFFieldNumber = 7;

		// Token: 0x04001705 RID: 5893
		private uint iMMLCCNCLBF_;

		// Token: 0x04001706 RID: 5894
		public const int HasGainedFieldNumber = 4;

		// Token: 0x04001707 RID: 5895
		private bool hasGained_;
	}
}
